package com.ruoyi.base.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 首页地址对象 base_index
 *
 * @author zzp
 * @date 2022-09-30
 */
public class BaseIndex extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 视频地址
     */
    @Excel(name = "视频地址")
    private String indexVideoUrl;

    /**
     * 图片地址
     */
    @Excel(name = "图片地址")
    private String indexImgUrl;

    /**
     * 图片链接
     */
    @Excel(name = "图片链接")
    private String indexImgHref;

    /**
     * 首页类型
     */
    @Excel(name = "首页类型")
    private String indexType;

    /**
     * 启用状态
     */
    @Excel(name = "启用状态")
    private String status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setIndexVideoUrl(String indexVideoUrl) {
        this.indexVideoUrl = indexVideoUrl;
    }

    public String getIndexVideoUrl() {
        return indexVideoUrl;
    }

    public void setIndexImgUrl(String indexImgUrl) {
        this.indexImgUrl = indexImgUrl;
    }

    public String getIndexImgUrl() {
        return indexImgUrl;
    }

    public void setIndexImgHref(String indexImgHref) {
        this.indexImgHref = indexImgHref;
    }

    public String getIndexImgHref() {
        return indexImgHref;
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }

    public String getIndexType() {
        return indexType;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("indexVideoUrl", getIndexVideoUrl())
                .append("indexImgUrl", getIndexImgUrl())
                .append("indexImgHref", getIndexImgHref())
                .append("indexType", getIndexType())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
